/* Structure for a stock pile - just a stub for now */
typedef struct {
    int dealto;		/* What to deal to */
    int chunk;		/* Number of cards dealt in each deal */
    int passes;		/* Number of passes through deck allowed 0=infinite */
    int id;		/* ID number of stack with current contents */
} StockStack;

#define DT_WASTE 0
#define DT_TABLEAU 1
#define DT_COURSE 2

extern StockStack *stock;

void makeStock(int dealto, int chunk, int passes, Stack *cards);
void printStock(FILE *f, Stack *stks);
int mayDeal(int id);
int dealStock(int id, Move **hist, Move *alt);
void cleanStock(void);
void gatherStock(Stack *s);
